Optimal. Leaf size=56 \[ \frac {\sqrt {x-1}}{8 (x+1)}-\frac {\sqrt {x-1}}{2 (x+1)^2}+\frac {\tan ^{-1}\left (\frac {\sqrt {x-1}}{\sqrt {2}}\right )}{8 \sqrt {2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.01, antiderivative size = 56, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.308, Rules used = {47, 51, 63, 203} \[ \frac {\sqrt {x-1}}{8 (x+1)}-\frac {\sqrt {x-1}}{2 (x+1)^2}+\frac {\tan ^{-1}\left (\frac {\sqrt {x-1}}{\sqrt {2}}\right )}{8 \sqrt {2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 47
Rule 51
Rule 63
Rule 203
Rubi steps
\begin {align*} \int \frac {\sqrt {-1+x}}{(1+x)^3} \, dx &=-\frac {\sqrt {-1+x}}{2 (1+x)^2}+\frac {1}{4} \int \frac {1}{\sqrt {-1+x} (1+x)^2} \, dx\\ &=-\frac {\sqrt {-1+x}}{2 (1+x)^2}+\frac {\sqrt {-1+x}}{8 (1+x)}+\frac {1}{16} \int \frac {1}{\sqrt {-1+x} (1+x)} \, dx\\ &=-\frac {\sqrt {-1+x}}{2 (1+x)^2}+\frac {\sqrt {-1+x}}{8 (1+x)}+\frac {1}{8} \operatorname {Subst}\left (\int \frac {1}{2+x^2} \, dx,x,\sqrt {-1+x}\right )\\ &=-\frac {\sqrt {-1+x}}{2 (1+x)^2}+\frac {\sqrt {-1+x}}{8 (1+x)}+\frac {\tan ^{-1}\left (\frac {\sqrt {-1+x}}{\sqrt {2}}\right )}{8 \sqrt {2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] time = 0.01, size = 28, normalized size = 0.50 \[ \frac {1}{12} (x-1)^{3/2} \, _2F_1\left (\frac {3}{2},3;\frac {5}{2};\frac {1-x}{2}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.47, size = 46, normalized size = 0.82 \[ \frac {\sqrt {2} {\left (x^{2} + 2 \, x + 1\right )} \arctan \left (\frac {1}{2} \, \sqrt {2} \sqrt {x - 1}\right ) + 2 \, \sqrt {x - 1} {\left (x - 3\right )}}{16 \, {\left (x^{2} + 2 \, x + 1\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 1.04, size = 37, normalized size = 0.66 \[ \frac {1}{16} \, \sqrt {2} \arctan \left (\frac {1}{2} \, \sqrt {2} \sqrt {x - 1}\right ) + \frac {{\left (x - 1\right )}^{\frac {3}{2}} - 2 \, \sqrt {x - 1}}{8 \, {\left (x + 1\right )}^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.01, size = 40, normalized size = 0.71 \[ \frac {\sqrt {2}\, \arctan \left (\frac {\sqrt {x -1}\, \sqrt {2}}{2}\right )}{16}+\frac {\frac {\left (x -1\right )^{\frac {3}{2}}}{8}-\frac {\sqrt {x -1}}{4}}{\left (x +1\right )^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 3.03, size = 43, normalized size = 0.77 \[ \frac {1}{16} \, \sqrt {2} \arctan \left (\frac {1}{2} \, \sqrt {2} \sqrt {x - 1}\right ) + \frac {{\left (x - 1\right )}^{\frac {3}{2}} - 2 \, \sqrt {x - 1}}{8 \, {\left ({\left (x - 1\right )}^{2} + 4 \, x\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.04, size = 45, normalized size = 0.80 \[ \frac {\sqrt {2}\,\mathrm {atan}\left (\frac {\sqrt {2}\,\sqrt {x-1}}{2}\right )}{16}-\frac {\frac {\sqrt {x-1}}{4}-\frac {{\left (x-1\right )}^{3/2}}{8}}{4\,x+{\left (x-1\right )}^2} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 2.61, size = 167, normalized size = 2.98 \[ \begin {cases} \frac {\sqrt {2} i \operatorname {acosh}{\left (\frac {\sqrt {2}}{\sqrt {x + 1}} \right )}}{16} - \frac {i}{8 \sqrt {-1 + \frac {2}{x + 1}} \sqrt {x + 1}} + \frac {3 i}{4 \sqrt {-1 + \frac {2}{x + 1}} \left (x + 1\right )^{\frac {3}{2}}} - \frac {i}{\sqrt {-1 + \frac {2}{x + 1}} \left (x + 1\right )^{\frac {5}{2}}} & \text {for}\: \frac {2}{\left |{x + 1}\right |} > 1 \\- \frac {\sqrt {2} \operatorname {asin}{\left (\frac {\sqrt {2}}{\sqrt {x + 1}} \right )}}{16} + \frac {1}{8 \sqrt {1 - \frac {2}{x + 1}} \sqrt {x + 1}} - \frac {3}{4 \sqrt {1 - \frac {2}{x + 1}} \left (x + 1\right )^{\frac {3}{2}}} + \frac {1}{\sqrt {1 - \frac {2}{x + 1}} \left (x + 1\right )^{\frac {5}{2}}} & \text {otherwise} \end {cases} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________